package top.callname.service;

import top.callname.bean.RspInfoBean;
import top.callname.bean.StudentBean;
import top.callname.bean.StudentPageList;

public interface StudentService {

	RspInfoBean save(StudentBean student);
	
	/**
	 * 分页查询班级
	 * @param page
	 * @param cid
	 * @return
	 */
	StudentPageList getListPage(int page, Integer cid);
	
	/**
	 * 根据学号查询
	 * @param stuNo
	 * @return StudentBean
	 */
	StudentBean getByStuNo(String stuNo);
	
	
	
	/**
	 * 绑定微信
	 * @param stuNo
	 * @param openid
	 * @return RspInfoBean
	 */
	RspInfoBean bindWeixin(String stuNo,String openid);
	
	
	/**
	 * 解绑微信
	 * @param sid
	 * @return RspInfoBean
	 */
	RspInfoBean solutionBinding(Integer sid);
	
	/**
	 * 
	 * @param openid
	 * @return StudentBean
	 */
	StudentBean getByOpenid(String openid);
	
	
	RspInfoBean deleteBySid(Integer sid);
	
	
}
